import { User } from '@/types/user'
import { request } from '@/utils/request'

export const getUserInfo = () => {
  return request<User>({
    url: 'user/info'
  })
}
